/* Styles for skin Moonlight */

/* Styles for elements
==============================================================================*/
body {
    background: #0f0f0f url(./skins/Moonlight/images/main_bg.gif) repeat left top;
    color: #fff;
    font: normal 12px/1.2em arial, helvetica, verdana, sans-serif;
    height: auto !important;
    min-height: 100%;
    overflow-y: scroll;
    vertical-align: baseline;
    width: 100%;
}

a,
a:focus,
a:visited {
    color: #06f;
    text-decoration: none;
}
a:hover { color: red; }
a img   {
    margin: 5px;
    vertical-align: middle;
}

b,
strong     { font-weight: bold }
blockquote {
    font-style: italic;
    margin: 1em 40px;
}
code {
    font-family: monospace, 'courier new';
    font-size: 1em;
}
dd       { margin: 0 0 0 40px }
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}
h1 {
    font-size: 18px;
    font-weight: bold;
    margin: 12px 0;
}
h2 {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
}
h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 8px 0;
}
hr {
    box-sizing: content-box;
    height: 0;
}

img {
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}

button,
input {
    border: 0;
    padding: 0;
}
button[disabled],
input[disabled] {
    background: #343536;
    border-color: #585858;
    cursor: not-allowed;
}
button img     { vertical-align: middle }
button .submit {
    margin: 0;
    padding: 2px 5px;
}
button[type="reset"],
button[type="submit"],
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: gray;
    background-image: linear-gradient(180deg, #909090 0%, #3d3d3d 50%, #404040 100%);
    border: 1px solid #838383;
    border: 1px solid #fff;
    border-radius: 6px;
    box-shadow: 1px 2px 4px #000;
    color: #fff;
    filter: progid:DXImageTransform.Microsoft.dropshadow(offX=2, offY=2, color=#000000);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#909090', endColorstr='#404040', GradientType=0 );
    filter: progid:DXImageTransform.Microsoft.shadow(direction=120, color=#000000, strength=10);
    font-weight: bold;
    line-height: 20px;
    margin: 5px;
    min-width: 100px;
    outline: none;
    padding: 0 5px;
    position: relative;
    text-shadow: 1px 1px 1px #000;
}
button[type="reset"]:hover,
button[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: #4C5A64;
    background: linear-gradient(180deg, #6D818F 1%, #404F5A 60%, #2E3940 99%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4C5A64', endColorstr='#2E3940', GradientType=0);
}
input[type="email"],
input[type="text"],
input[type="password"],
input[type="url"] {
    border: 1px solid #747270;
    border-radius: 5px;
    margin: 5px;
    padding: 3px;
    transition: all .3s ease-out;
}
input[type="email"]:hover,
input[type="text"]:hover,
input[type="password"]:hover,
input[type="url"]:hover { border-color: #aaa }
input[type="email"]:focus,
input[type="checkbox"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="url"]:focus {
    background: #ffc;
    border-color: red;
    outline: none;
}
input[type="checkbox"],
input[type="radio"] {
    padding: 0;
    height: 13px;
    width: 13px;
}

legend {
    border: 0;
    padding: 10px;
    white-space: normal;
}

ol,
ul { list-style: none; }
ol,
p   { margin: 10px 0 }
pre {
    background: #fafafa;
    border: 1px dotted #aab4be;
    border-left: 20px solid #b4b4b4;
    color: #2e8b57;
    font-size: 1em;
    font-family: monospace, 'courier new';
    margin: 10px 0;
    padding: 5px 0;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

q       { quotes: none }
q:before,
q:after {
    content: '';
    content: none;
}

select {display:inline-block;
    border: 2px solid transparent;
    border-radius: 4px;
    color: #000;
    margin: 1px 0;
    padding: 2px;
    width: 160px;
}
select:focus { outline: 1px solid red; }

table {
    border-spacing: 1px;
    padding: 2px;
    vertical-align: middle;
    width: 100%;
}

textarea {
    background: #ffc;
    border: 1px solid #a4a4a4;
    border-radius: 4px;
    color: #000;
    display: inline-block;
    padding: 4px;
    width: 95%;
}
textarea:focus { border: 1px solid red; }

/* Styles for main.tpl
==============================================================================*/
#wrapper {
    background: url(./skins/Moonlight/images/header_bg.jpg) no-repeat center top;
    height: auto !important;
    margin: 0 auto;
    overflow: hidden;
    width: 1000px;
}

/* Header
==============================================================================*/
.header {
    background: url(./skins/images/shadow.png) 0 0 repeat-x;
    display: inline-block;
    padding: 0 0 10px;
    width: 1000px;
}

.toolbar {
    margin: 0 20px;
    text-align: right;
}
.toolbar ul {
    margin: 0;
    padding: 0;
}
.toolbar li {
    border-left: 1px solid #fff;
    display: inline;
    margin-left: 8px;
    padding-left: 12px;
}
.toolbar li:first-child { border: 0 }
.toolbar a       { color: #fff; }
.toolbar a:hover { color: red; }

.logo-image      {
    color: #fff;
    float: left;
    font-size: 16px;
    margin-left: 50px;
    text-align: center;
    width: 370px;
}
.logo-version {
    color: #ccc;
    display: inline-block;
    font-size: 48px;
    font-weight: bold;
    height: 50px;
    text-shadow: 4px 4px 2px #000;
    width: 80px;
}

.search {
    float: right;
    margin: 20px;
}
.slogan {
    color: #ff0;
    font-size: 10pt;
    margin: 25px 0 0 10px;
    width: 680px;
}

.menu {
    background: #404040;
    background: linear-gradient(180deg, #dedede 0%, black 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dedede', endColorstr='#000000', GradientType=0 );
    height: 35px;
    border-radius: 5px;
    display: inline-block;
}
.menu ul {
    background: #404040;
    border-radius: 0 0 5px 5px;
    opacity: 0;
    padding: 0;
    position: absolute;
    transition: opacity .25s ease .1s;
    z-index: 10;
}
.menu ul li {
    height: 0;
    padding: 0;
    overflow: hidden;
    transition: height .25s ease .1s;
}
.menu ul li a {
    border: 0;
    min-width: 100px;
    text-align: center;
}
.menu ul li:last-child a { border: 0 }
.menu li {
    display: block;
    float: left;
    height: 35px;
    list-style: none;
    position: relative;
}
.menu li a {
    border-left: 1px solid #393942;
    border-right: 1px solid #4f5058;
    color: #fff;
    display: block;
    line-height: 25px;
    margin: 4px 0;
    padding: 0 14px;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .6);
    transition: color .2s ease-in-out;
}
.menu li:first-child a { border-left: none }
.menu li:last-child a  { border-right: none }
.menu li:hover>a       { color: red; }
.menu li:hover>ul      { opacity: 1 }
.menu li:hover>ul li   {
    height: 35px;
    padding: 0;
    overflow: visible;
}

#navigation {
    background: #ddd;
    height: 65px;
}
#navigation ul {
    float: left;
    margin: 10px 0 0 15px;
}
#navigation ul li {
    float: left;
    margin: 10px 2px;
    position: relative;
}
#navigation ul li a {
    background-image: linear-gradient(180deg, #999 1%, #555 50%, #222 99%);
    border: 1px solid #838383;
    border: 1px solid #fff;
    border-radius: 6px;
    box-shadow: 1px 2px 2px #000;
    color: #fff;
    display: inline-block;
    filter: progid:DXImageTransform.Microsoft.dropshadow(offX=2, offY=2, color=#000000);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#999999', endColorstr='#222222', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.shadow(direction=120, color=#000000, strength=10);
    line-height: 20px;
    min-width: 100px;
    outline: none;
    padding: 0 5px;
    text-decoration: none;
    text-shadow: 1px 1px 1px #000;
}
#navigation ul li a:hover,
#navigation ul li.selected a {
    background: linear-gradient(180deg, #222 1%, #555 50%, #999 99%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#999999', GradientType=0);
}

/* Styles for page layout
==============================================================================*/
.content .mainbar {
    background: #f4f4f4;
    border: 1px solid #808385;
    border-radius: 8px;
    color: #000;
    float: left;
    margin: 0;
    padding: 12px 20px;
    width: 720px;
}
.content .mainbar h2 {
    border-bottom: 1px solid #bebebe;
    font-size: 18px;
    line-height: 1.2em;
    margin-bottom: 0;
    padding-bottom: 8px;
}
.content .mainbar .comment {
    margin: 0;
    padding: 16px 0 0;
}
.content .sidebar {
    float: right;
    overflow: hidden;
    width: 230px;
}

/* Boxes
==============================================================================*/
.boxes {
    color: #fff;
    height: auto !important;
    margin: 0 auto;
    max-width: 1000px;
    min-width: 1000px;
    padding: 10px 0;
    position: relative;
}
.boxes h2 {
    color: #fff;
    text-transform: uppercase;
}
.boxes img.gal {
    border: none;
    margin: 0 8px 8px 0;
    padding: 0;
}
.boxes .leftbox,
.boxes .middlebox,
.boxes .rightbox {
    display: inline-block;
    float: left;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 10px;
    position: relative;
    width: 313px;
}

/* Footer
==============================================================================*/
.footer {
    background: #222;
    color: #fff;
    overflow: hidden;
    padding: 10px 30px;
    position: relative;
    text-shadow: 0 1px 1px #000;
}
.copyright {
    margin: 10px 0;
    text-align: center;
    width: 33%;
}

.valid {
    float: right;
    margin: 10px 0;
    position: relative;
    width: 20%;
}
.valid-icon        { white-space: nowrap }
.valid-icon:before {
    background: url(./skins/images/logos.jpg);
    background-repeat: no-repeat;
    background-position: 80px 15px;
    content: '';
    display: inline;
    display: inline-block;
    height: 15px;
    width: 80px;
}
.valid-icon-cms:before     { background-position: 0 0 }
.valid-icon-css:before     { background-position: 0 -30px }
.valid-icon-xhtml:before   { background-position: 0 -45px }
.valid-icon-php:before     { background-position: 0 -60px }
.valid-icon-db:before      { background-position: 0 -75px }
.valid-icon-license:before { background-position: 0 -90px }

/* Box
==============================================================================*/
.box {
    border: 1px solid #808385;
    border-radius: 8px;
    margin: 3px 0 5px;
    padding: 10px;
}
.box .title {
    color: #fff;
    font-weight: bold;
    padding: 10px 5px;
}

.counter td { height: 20px }

/* Darkbox
==============================================================================*/
.darkbox {
    background: #000;
    margin: 3px 0 5px;
    padding: 10px;
}
.darkbox ul     { list-style-type: none }
.darkbox .title {
    color: #fff;
    text-transform: uppercase;
}

/* Lightbox
==============================================================================*/
.lightbox {
    background: #fff;
    margin: 3px 0 5px;
    padding: 10px;
}
.lightbox ul     { list-style-type: none }
.lightbox .title {
    color: #000;
    text-transform: uppercase;
}

/* Panel
==============================================================================*/
.panel .title {
    border-bottom: 1px solid #444;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 10px 5px;
    text-transform: uppercase;
}
.login-panel { margin: 10px 0 }
.user-panel  {
    margin: 10px;
    padding: 0 10px;
}

/* Win
==============================================================================*/
.win { margin: 20px 5px }

/* Common styles
==============================================================================*/
.actions {
    float: right;
    margin: 0 10px 10px 0;
}
.actions a { margin: 0 5px }

#bad {
    color: red;
    font-size: 11px;
    padding: 5px 10px;
    text-align: right;
}
.block        { display: block }
#captcheckout { width: 90px }
.category     {
    margin: 0 0 0 50px;
    padding: 4px 0 0;
}
.center { text-align: center }
.clear  {
    clear: both;
    height: 0;
    overflow: hidden;
}
.dark { background: #999 }
#good {
    color: #3c0;
    font-size: 11px;
    padding: 5px 10px;
    text-align: right;
}
help {
    color: red;
    font-style: italic;
    font-size: 11px;
    padding: 5px 10px;
    text-align: right;
}
.info {
    font-size: 12px;
    padding: 10px 0;
}
.last-items li { margin: 5px 0 }
.left          { text-align: left }
.light         { background: #ddd }
.main          { margin: 0 auto }
.main .title   {
    margin: 20px 0 10px;
    font-weight: bold;
}
.more {
    float: right;
    margin: 0 2px;
}
.nomargin {
    margin: 0;
    height: 150px;
    width: 200px;
}
.none     { display: none }
.required {
    background: #fff888;
    color: red;
}
.right { text-align: right }

.section   { margin: 20px }
.section a {
    display: block;
    margin: 0;
}
.section a.level1 { text-align: left }
.section a.level1 span.title,
.section a.level2 span.title {
    font-size: 10pt;
    font-weight: bold;
    line-height: 20px;
    margin: 0;
    padding: 0 5px;
    text-align: left;
}
.section a.level1 span.subtitle,
.section a.level2 span.subtitle {
    font-weight: 400;
    line-height: 16px;
    padding: 0 5px;
}
.section span {
    display: block;
    text-align: left;
}
.section span.bg {
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
}
.section span.level1       { text-align: left }
.section li a.level1:hover {
    background: #e8e8ea;
    color: red;
}
.section span.level1 span.title {
    font-weight: bold;
    font-size: 10pt;
    line-height: 20px;
    padding: 0 5px;
    text-align: left;
}
.section span.level1 span.subtitle {
    font-weight: 400;
    line-height: 16px;
    padding: 0 5px;
}
.section ul.level2,
.section ul.level3 {
    padding: 0 0 10px 40px;
    text-align: left;
}
.section ul.level2 img,
.section ul.level3 img {
    float: left;
    margin: 0 20px 0 0;
}
.section li.level3 a.level3:hover span.title,
.section li.level3 a.level3:hover span.subtitle,
.section ul.level3 a.level3:hover span.title,
.section ul.level3 a.level3:hover span.subtitle {
    background: #e8e8ea;
    color: red;
}
.section li {
    line-height: 18px;
    position: relative;
}
.section li a.level2:hover,
.section li a.level3:hover { background: #e8e8ea }
.section li a.level1:hover span.title,
.section li a.level2:hover span.subtitle,
.section li a.level3:hover span.title    { color: blue }
.section li a.level3:hover span.subtitle { color: red; }
.section li.level1 .title   { margin: 15px 0 0 }
.section li.level2 a.level2 { padding: 0 5px }
.section li.level2 a.level2:hover,
.section li.level3 a.level3:hover {
    background: #e8e8ea;
    color: blue;
}
.section li.level2 .title,
.section li.level3 a.level3,
.section li.level3 a.level3 span.title { margin: 20px 0 0 }

.special { color: red; }


.submit-button {
    background: #404040;
    background: linear-gradient(180deg, #909090, #404040);
    border: 1px solid #fff;
    border-radius: 4px;
    box-shadow: 0 1px 0 #ccc;
    color: #fff;
    filter: progid:DXImageTransform.Microsoft.dropshadow(offX=1, offY=1, color=#cccccc);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#909090', endColorstr='#404040', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.shadow(direction=120, color=#000000, strength=10);
    font-family: helvetica, serif;
    font-size: 14px;
    padding: 8.5px 18px;
    text-decoration: none;
    text-shadow: #000 0 1px;
    vertical-align: middle;
}
.submit-button:hover {
    background: #909090;
    background-image: linear-gradient(180deg, #404040, #909090);
    border: 1px solid #fff;
    color: #ff0;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#404040', endColorstr='#909090', GradientType=0);
    text-shadow: #000 0 1px 0;
}
.submit-button:active {
    background: #297377;
    background-image: linear-gradient(180deg, #fff, #297377);
    border: 1px solid #fff;
    color: #fff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#297377', GradientType=0);
    text-shadow: #000 0 1px 0;
}
.submit-container {
    margin: 8px 0;
    text-align: right;
}

table#std { margin: 0 0 10px }
table#std { margin: 0 0 10px }
table#std tr { height: 25px }
table#std td {
    border: 2px groove #fff;
    padding: 0 10px;
}
table#std th {
    background: #555;
    border: 2px groove #fff;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 0 #000;
}
table.std {
    border: 2px groove #fff;
    padding: 10px;
    width: 100%;
}
th,
td { vertical-align: middle }
th.icon,
td.icon  { width: 47px }
th.title,
td.title { width: 250px }
th.access,
td.access,
th.actions,
td.actions { width: 70px }
th.author,
td.author,
th.views,
td.views    { width: 80px }
th.comments,
td.comments { width: 120px }
th.date,
td.date {
    padding: 0 10px;
    width: 140px;
}

:-moz-placeholder { color: #7e7e7e }
::-webkit-input-placeholder { color: #7e7e7e }

/* Articles
==============================================================================*/
.post {
    box-sizing: content-box;
    margin: 10px;
    overflow: hidden;
    padding: 10px;
}
.post img    { float: left }
.post .admin {
    margin: 0 20px;
    float: right;
    line-height: 18px;
}
.post .admin a { margin: 0 2px }
.post .author  {
    margin: 0 0 0 10px;
    line-height: 18px;
    width: 200px;
}
.post .date {
    margin: 2px 0 0 40px;
    width: 300px;
}
.post .info {
    clear: both;
    font-size: 8pt;
    padding: 4px 10px;
}
.post .title    { margin: 10px 5px }
.post .text img { margin: 10px }

.calendar {
    color: #fff;
    vertical-align: middle;
}
.calendar th { padding: 2px }
.calendar td {
    padding: 2px;
    text-align: center;
}
.calendar form input { margin: 5px 0 0 }

#tabs-1,
#tabs-2,
#tabs-3,
#tabs-4,
#tabs-5  { margin: 0 10px 10px }
div.tabs {
    margin: 0 0 50px;
    padding: 4px;
}
html ul.tabs li.active,
html ul.tabs li.active a:hover {
    background: #fff;
    border-bottom: 1px solid #fff;
}
ul.tabs {
    border-left: 1px solid #999;
    float: left;
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    width: 100%;
}
ul.tabs li {
    background: #e0e0e0;
    border: 1px solid #999;
    border-left: none;
    float: left;
    line-height: 20px;
    overflow: hidden;
    position: relative;
}
ul.tabs li a {
    border: 1px solid #fff;
    color: #000;
    display: block;
    padding: 0 20px;
    text-decoration: none;
    outline: none;
}
ul.tabs li a:hover { background: #ccc }
ul.tabs li a.selected,
ul.tabs li a.selected:hover {
    background: #fff;
    border: 1px solid #999;
    border-bottom: 1px solid #fff;
    color: #000;
}
ul.tabs li a:hover {
    background: red;
    color: #ff0;
}
ul.tabs li a:focus { outline: 0 }
.tab_content       { margin: 20px 0 0 }
.tab_content img   {
    float: left;
    margin: 0 10px;
}
.tab_content .author { width: 30% }
.tab_content .date   {
    float: right;
    font-style: italic;
    margin: 6px 50px 0 0;
}
.tab_content .info { clear: both }
.tab_content .more {
    float: right;
    margin: 0 2px;
}
.tab_content .section   { margin: 0 0 0 50px }
.tab_content .section a { display: inline }

/* Chat
==============================================================================*/
.chat,
.chat-post { margin: 10px 0 }
.chat input[type="submit"],
.chat input[type="reset"],
.chat-post input[type="submit"],
.chat-post input[type="reset"] {
    min-width: 70px;
    width: 70px;
}

/* Forum
==============================================================================*/
.topic {
    background: #fff;
    border: 1px solid #777;
    border-radius: 8px;
    box-shadow: 4px 4px 4px #000;
    box-sizing: content-box;
    filter: progid:DXImageTransform.Microsoft.dropshadow(offX=4, offY=4, color=#000000);
    filter: progid:DXImageTransform.Microsoft.shadow(direction=120, color=#000000, strength=10);
    margin: 10px;
    overflow: hidden;
}
.topic .content { overflow: hidden }
.topic .author  {
    float: left;
    width: 120px;
}
.topic .date { font-size: 10px }
.topic .info {
    line-height: 18px;
    padding: 0 10px 0 0;
}
.topic .profile             { float: right }
.topic .info span.profile   { padding: 5px }
.topic .info span.profile a { margin: 0 5px }
.topic .text                { margin: 0 10px 10px 130px }

/* Gallery
==============================================================================*/
.gallery       { margin: 0 auto }
.gallery .item {
    float: left;
    margin: 10px 3px;
    width: 210px;
}
.gallery .info { padding: 0 0 0 15px }
.gallery .item {
    box-sizing: content-box;
    padding: 10px 12px;
    padding: 10px;
    overflow: hidden;
}
.gallery .title { text-transform: none }
.gallery img    { margin: 5px 0 0 5px }

.random-image { margin: 5px 0 }

/* Polls
==============================================================================*/
.poll       { margin: 0 0 10px }
.poll table { margin: 3px 0 }

/* Comments
==============================================================================*/
.comment {
    box-sizing: content-box;
    margin: 10px 5px 0;
    overflow: hidden;
    padding: 10px;
}
.comment img     { float: left }
.comment .author {
    float: left;
    margin: 21px 0;
    width: 120px
}
.comment .author .avatar img { margin: 0 25px 10px }
.comment .content {
    padding: 0;
    overflow: hidden;
}
.comment .date { font-size: 10px }
.comment .head { line-height: 20px }
.comment .info { line-height: 18px }
.comment .info .profile a { margin: 0 3px }
.comment .profile         { float: right }
.comment .text     { margin: 21px 10px 10px 130px }
.comment .text img { margin: 0 10px }
.comment_edit,
.comment_post {
    box-sizing: content-box;
    padding: 10px 0 0;
    overflow: hidden;
}

/* Editor
==============================================================================*/
#editor {
    margin: 20px 0 0;
    overflow: hidden;
    padding: 15px;
}
#editor button {
    cursor: pointer;
    margin: 0 auto;
}
#editor button:hover {
    cursor: pointer;
    margin: 0 auto;
}
#editor .label {
    color: #000;
    padding: 0 15px;
    text-align: right;
    width: 160px;
}
#editor input:not ([type=radio]),
#editor textarea,
#editor select {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px;
    outline: 0;
    width: 200px;
}
#editor input:focus {
    background: #fff;
    border: 1px solid red;
}
#editor input[type="checkbox"] { float: none }
#editor legend {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

/* Styles for bbCodes
==============================================================================*/
.bbbutton {
    height: 26px;
    margin: 0 -2px;
    min-width: 26px;
    padding: 0;
    width: 26px;
}
.bbcodes            { margin: 10px 20px }
.bbcodes .smiles    { margin: 0 0 5px }
.bbcodes .link_text {
    margin: 4px 20px;
    text-align: right;
}
.bbcodes .link_text input[type='text'] { margin: 2px 20px }
.bbselect { margin: 1px 0 4px }
.bbtools  {
    background: #bfcfdf;
    margin: 10px 0 0;
    padding: 10px 0 0;
}

.codehtml,
.codephp,
.codetext {
    background: #ffffc0;
    border: 1px solid #6da4da;
    color: #000;
    font: normal 8pt mono, "Courier New", Courier;
    margin: 5px 0;
    padding: 5px;
    overflow: auto;
    white-space: nowrap;
}

.quotetitle {
    background: #abc;
    border: 1px solid #a9b8c2;
    color: #000;
    font-size: 8pt;
    font-style: italic;
    margin: 5px 0 0;
    padding: 2px;
}
.quotetext {
    background: #fafafa;
    border: 1px solid #a9b8c2;
    color: #555;
    font: italic 9pt monospace, "Courier New", Courier;
    margin: 0 0 5px;
    padding: 5px;
    overflow: auto;
}

.spoiler       { margin: 10px 0 0 }
.spoiler:hover { cursor: pointer }

/* Popup windows of errors and other messages
==============================================================================*/
.error,
.message {
    background: #fff;
    background-image: linear-gradient(180deg, white 1%, #999 99%);
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.8);
    display: none;
    filter: progid:DXImageTransform.Microsoft.dropshadow(offX=5, offY=5, color=#000000);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#999999', GradientType=0 );
    filter: progid:DXImageTransform.Microsoft.shadow(direction=120, color=#000000, strength=10);
    font-weight: bold;
    min-width: 300px;
    padding: 5px;
    position: relative;
    width: 300px;
}
.error p,
.message p { padding: 10px }
.error .text,
.message .text { color: #000; }
.error .title,
.message .title {
    font-size: 15px;
    font-weight: bold;
    margin: 10px;
    padding: 8px 0;
    text-shadow: -1px 1px 1px rgba(0, 0, 0, .8);
    text-transform: uppercase;
}
.error .title {
    background: red;
    color: #ff0;
}
.message .title {
    background: #000;
    color: #fff;
}
.popup_input {
    background: transparent;
    border: 0;
    color: #fff;
}

/* Pagination
==============================================================================*/
#pagination {
    float: right;
    height: 20px;
    line-height: 20px;
    padding: 10px;
}
#pagination li {
    list-style: none;
    margin: 0;
}
#pagination a {
    margin-right: 2px;
    padding: 0 6px;
}
#pagination .pages {
    display: block;
    float: left;
    padding: 0 6px;
}
#pagination .next a,
#pagination .previous a { font-weight: bold; }
#pagination .active     {
    background: #fff;
    color: red;
    float: left;
    font-weight: bold;
    padding: 0 6px;
}
#pagination a:link,
#pagination a:visited {
    display: block;
    float: left;
}

/* Password strength
==============================================================================*/
#pass_rating { margin: 0 28px 0 0 }
.pass_img#progresbar-2-0,
.pass_img#passbar-0,
.pass_img#progresbar-2-10,
.pass_img#passbar-10,
.pass_img#progresbar-2-20,
.pass_img#passbar-20,
.pass_img#progresbar-2-30,
.pass_img#passbar-30,
.pass_img#progresbar-2-40,
.pass_img#passbar-40,
.pass_img#progresbar-2-50,
.pass_img#passbar-50,
.pass_img#progresbar-2-60,
.pass_img#passbar-60,
.pass_img#progresbar-2-70,
.pass_img#passbar-70,
.pass_img#progresbar-2-80,
.pass_img#passbar-80,
.pass_img#progresbar-2-90,
.pass_img#passbar-90,
.pass_img#progresbar-2-100,
.pass_img#passbar-100 {
    float: right;
    height: 7px;
    margin: 6px 65px 0 0 !important;
    width: 138px;
}
.pass_img#progresbar-2-0,
.pass_img#passbar-0  { background: transparent url(./skins/images/password/pass_0.gif) no-repeat }
.pass_img#progresbar-2-10,
.pass_img#passbar-10 { background: transparent url(./skins/images/password/pass_10.gif) no-repeat }
.pass_img#progresbar-2-20,
.pass_img#passbar-20 { background: transparent url(./skins/images/password/pass_20.gif) no-repeat }
.pass_img#progresbar-2-30,
.pass_img#passbar-30 { background: transparent url(./skins/images/password/pass_30.gif) no-repeat }
.pass_img#progresbar-2-40,
.pass_img#passbar-40 { background: transparent url(./skins/images/password/pass_40.gif) no-repeat }
.pass_img#progresbar-2-50,
.pass_img#passbar-50 { background: transparent url(./skins/images/password/pass_50.gif) no-repeat }
.pass_img#progresbar-2-60,
.pass_img#passbar-60 { background: transparent url(./skins/images/password/pass_60.gif) no-repeat }
.pass_img#progresbar-2-70,
.pass_img#passbar-70 { background: transparent url(./skins/images/password/pass_70.gif) no-repeat }
.pass_img#progresbar-2-80,
.pass_img#passbar-80 { background: transparent url(./skins/images/password/pass_80.gif) no-repeat }
.pass_img#progresbar-2-90,
.pass_img#passbar-90 { background: transparent url(./skins/images/password/pass_90.gif) no-repeat }
.pass_img#progresbar-2-100,
.pass_img#passbar-100 { background: transparent url(./skins/images/password/pass_100.gif) no-repeat }
.pass_title {
    font-size: 11px;
    margin: 0;
    padding: 5px 5px 0 80px;
}
#no  { color: red; }
#yes { color: #3c0 }

/* Rates for publications and comments
==============================================================================*/
.negative {
    color: red;
    font-weight: bold;
}
.positive {
    color: green;
    font-weight: bold;
}
.rate {
    float: right;
    margin: 30px 10px 10px;
}
.rate button {
    background: transparent;
    border: none;
}
.rate button.minus,
.rate button.plus { margin: 0 5px }

.star,
.star ul.star,
.star div.rates,
.star div.user,
.star div.voted,
.star div.sep { float: right }
.star {
    height: 20px;
    margin: 0 10px 0 0;
}
.star ul.star {
    background: url(./skins/images/stars.png) repeat-x;
    cursor: pointer;
    height: 22px;
    margin: 0 50px 0 0;
    padding: 0;
    width: 85px;
}
.star li {
    display: block;
    float: right;
    height: 20px;
    margin: 0;
    padding: 0;
    position: absolute;
    text-decoration: none;
    text-indent: -9000px;
    width: 85px;
    z-index: 1;
}
.star li.curr {
    background: url(./skins/images/stars.png) left 25px;
    font-size: 1px;
}
.star div.rates { margin: -16px 0 0 5px }
.star div.sep   { margin: 0 3px }

/* Registration form
==============================================================================*/
#sliding_content {
    margin: 15px auto;
    text-align: center;
    width: 635px;
}
#sliding_form {
    background: #fff;
    background: linear-gradient(180deg, #fff 1%, #a0a0a0 99%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#a0a0a0', GradientType=0);
    border: 1px solid #888;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .8);
    filter: progid:DXImageTransform.Microsoft.dropshadow(offX=5, offY=5, color=#000000);
    filter: progid:DXImageTransform.Microsoft.shadow(direction=120, color=#000000, strength=10);
    padding: 15px 0;
    overflow: hidden;
}

.step  { float: left }
#steps { overflow: hidden }
#steps form          { padding: 0 }
#steps form fieldset { padding: 0 }
#steps form legend   {
    background: #ddd;
    color: #297377;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 1px 1px 1px #fff;
    width: 635px;
}
#steps form p {
    background: #ddd;
    border: 1px solid #fff;
    border-radius: 5px;
    box-shadow: 0 0 3px #000;
    filter: progid:DXImageTransform.Microsoft.dropshadow(offX=3, offY=3, color=#000000);
    filter: progid:DXImageTransform.Microsoft.shadow(direction=120, color=#000000, strength=10);
    clear: both;
    float: left;
    margin: 0 0 10px 120px;
    padding: 3px 0;
    width: 400px;
}
#steps form p label {
    color: #000;
    float: left;
    font-weight: bold;
    line-height: 30px;
    text-align: right;
    text-shadow: 1px 1px 1px #fff;
    width: 130px;
}
#steps form p.msg {
    background: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
#steps form p.submit {
    background: none;
    border: none;
    box-shadow: none;
}
#steps form input:not ([type=radio]),
#steps form textarea,
#steps form select {
    border: 1px solid #ddd;
    border-radius: 3px;
    outline: 0;
    padding: 5px;
    width: 200px;
}
#steps form input:focus {
    background: #fff;
    border: 1px solid red;
}

/* Search results
==============================================================================*/
.results    { margin: 30px }
.results ul,
.results li {
    margin: 0;
    padding: 0;
    position: relative;
}
.results a {
    display: block;
    margin: 0;
    text-align: left;
}
.results a.level1 {
    padding-top: 10px;
    overflow: hidden;
    text-align: left;
}
.results a.level1 span.title {
    font-size: 10pt;
    font-weight: bold;
    line-height: 20px;
    margin: 0;
    padding: 0 10px;
    text-align: left;
}
.results a.level1 span.subtitle {
    font-weight: 400;
    line-height: 16px;
    padding: 0 10px;
}
.results span {
    display: block;
    text-align: left;
}
.results span.level1 {
    padding-top: 10px;
    overflow: hidden;
    text-align: left;
}
.results span.level1 span.title {
    font-size: 10pt;
    font-weight: bold;
    line-height: 20px;
    margin: 0;
    padding: 0 10px;
    text-align: left;
}
.results span.level1 span.subtitle {
    font-weight: 400;
    line-height: 16px;
    padding: 0 10px;
}
.results li a.level1:hover {
    background: #e8e8ea;
    color: red;
    text-shadow: 0 1px 0 #fff;
}

/* Simple menu
==============================================================================*/
.simple-menu {
    background: #bbb;
    padding: 10px;
}
.simple-menu a       { color: #000; }
.simple-menu a:hover { color: red; }
.simple-menu li      {
    border-left: 1px solid #000;
    margin-left: 8px;
    padding-left: 12px;
    display: inline;
}
.simple-menu li:last-child {
    border-right: 1px solid #000;
    margin-right: 8px;
    padding-right: 12px;
}

/* User
==============================================================================*/
.profile th,
.profile td {
    height: 25px;
    padding: 0 10px;
    vertical-align: middle;
}

/* Styles for banners
==============================================================================*/
#banner {
    color: #fff;
    padding: 0 7px;
    margin: 0;
}
#banner li {
    padding: 10px 0;
    margin: 0;
}
#banner a { color: #fff; }
.horinaja img {
    margin: 0;
    padding: 0;
}
.horinaja ul {
    margin: 0;
    padding: 0;
    position: relative;
    width: 220px;
}
.horinaja ul li {
    background: transparent;
    display: block;
    top: 0;
    width: 215px;
}
ol.horinaja_pagination {
    background: transparent;
    clear: both;
    height: 40px;
    margin: 0 auto;
    padding: 5px 0 0;
    position: relative;
}
ol.horinaja_pagination li {
    display: block;
    float: left;
    height: 40px;
}
ol.horinaja_pagination li a {
    background: transparent;
    color: #fff;
    cursor: pointer;
    height: 30px;
    display: block;
    float: left;
    font-weight: bold;
    text-align: center;
    padding: 10px 0 0;
}

/* Styles for aforisms flipping
==============================================================================*/
#flipbox {
    background: #fff;
    color: #000;
    padding: 5px;
    min-height: 50px;
}

/* Icons for buttons and links
==============================================================================*/
.icon        { white-space: nowrap }
.icon:before {
    content: '';
    background-image: url(./skins/images/icons.png);
    background-repeat: no-repeat;
    background-position: 16px 16px;
    margin: 0 3px;
    left: 0;
    top: 3px;
    position: relative;
    width: 16px;
    height: 16px;
    display: inline;
    display: inline-block;
}
.icon-index:before { background-position: 0 0 }
.icon-admin:before { background-position: 0 -16px }
.icon-registration:before     { background-position: 0 -32px }
.icon-password-request:before { background-position: 0 -48px }
.icon-post:before      { background-position: 0 -64px }
.icon-posts:before     { background-position: 0 -80px }
.icon-guestbook:before { background-position: 0 -96px }
.icon-forum:before     { background-position: 0 -112px }
.icon-gallery:before   { background-position: 0 -128px }
.icon-close:before     { background-position: 0 -144px }
.icon-catalogs:before  { background-position: 0 -160px }
.icon-open:before      { background-position: 0 -176px }
.icon-sitemap:before   { background-position: 0 -208px }
.icon-pm:before        { background-position: 0 -224px }
.icon-profile:before   { background-position: 0 -240px }
.icon-printer:before   { background-position: 0 -256px }
.icon-pinned:before    { background-position: 0 -272px }
.icon-edit:before      { background-position: 0 -288px }
.icon-up:before        { background-position: 0 -320px }
.icon-down:before      { background-position: 0 -335px }
.icon-messages:before  { background-position: 0 -352px }
.icon-flag:before   { background-position: 0 -368px }
.icon-delete:before { background-position: 0 -384px }
.icon-login:before  { background-position: 0 -416px }
.icon-rss:before    { background-position: 0 -432px }
.icon-arrow-left:before  { background-position: 0 -448px }
.icon-arrow-right:before { background-position: 0 -464px }
